package com.xzh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("course_reviews")
public class Reviews {
    @TableId(type = IdType.AUTO)
    private Integer reviewId;
    private Integer courseId;
    private Integer studentId;
    private Integer rating;
    private String comment;
    private Date reviewTime;
    private String status;

    private String studentName;
    private String courseName;

}
